package com.jiangyao;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * java -jar xxx.jar --spring.profiles.active=sit
 *
 * @author yych
 */
@SpringBootApplication(scanBasePackages = {"com.jiangyao"})
@MapperScan("com.jiangyao.dao")
@EnableAsync
@EnableScheduling
@Slf4j
public class ApiApplication {

	public static void main(String[] args) {
		SpringApplication.run(ApiApplication.class, args);
		log.info("匠要-前台api接口-启动成功");
	}

}
